package co.yixiang.huiMin.service;

import co.yixiang.huiMin.entity.Machinist;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 机修师 服务类
 * </p>
 *
 * @author Author
 * @since 2020-07-01
 */
public interface MachinistService extends IService<Machinist> {

    /**
     * 查询申请
     * @return
     */
    List<Machinist> selectMachinists();

    /**
     * 审核
     * @param machinist
     * @return
     */
    int updateMachinists(Machinist machinist);
}
